from django.contrib import admin
from renren.models import *
# Register your models here.
class renrenAdmin(admin.ModelAdmin):
	list_display = ('image_tag','name','gender','department','face_rate','numberOfViews','ranking','birthyear','hometown','constellation','url_tag',)
	readonly_fields = ('image_tag','url_tag')
	list_filter = ('gender','department','birthyear','constellation',)
	search_fields = ['name']
		
admin.site.register(Renren,renrenAdmin)
